import Foundation

struct CartItem: Identifiable, Codable {
    var id: Int
    var productId: Int
    var cartNum: Int
    var productInfo: ProductInfo?
    
    enum CodingKeys: String, CodingKey {
        case id
        case productId
        case cartNum
        case productInfo
    }
}